<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<form action="/upload/upload" method="post" enctype="multipart/form-data">
  类型:<select name="type">
      <option value="image">图片</option>
      <option value="doc">文档</option>
    </select> <br>
  文件:<input type="file" name="file"><button>上传</button>
</form>
</body>
</html>